home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
Retrace.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
3KB
|
136 lines
;
; File: Retrace.a
;
; Contains: Vertical Retrace Interfaces.
;
; Version: Technology: System 7.5
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__RETRACE__') = 'UNDEFINED' THEN
__RETRACE__ SET 1
IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
include 'Types.a'
ENDIF
IF &TYPE('__OSUTILS__') = 'UNDEFINED' THEN
include 'OSUtils.a'
ENDIF
IF FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED THEN
; typedef VBLTask * VBLTaskPtr
VBLTask RECORD 0
qLink ds.l 1 ; offset: $0 (0)
qType ds.w 1 ; offset: $4 (4)
vblAddr ds.l 1 ; offset: $6 (6)
vblCount ds.w 1 ; offset: $A (10)
vblPhase ds.w 1 ; offset: $C (12)
sizeof EQU * ; size: $E (14)
ENDR
;
; pascal QHdrPtr GetVBLQHdr(void )
;
IF ¨ GENERATINGCFM THEN
Macro
_GetVBLQHdr &dest=(sp)
move.l #$00000160,&dest
EndM
ELSE
IMPORT_CFM_FUNCTION GetVBLQHdr
ENDIF
;
; pascal OSErr SlotVInstall(QElemPtr vblBlockPtr, short theSlot)
;
IF ¨ GENERATINGCFM THEN
; parameters:
; vblBlockPtr => A0
; theSlot => D0
; returns:
; OSErr <= D0
_SlotVInstall: OPWORD $A06F
ELSE
IMPORT_CFM_FUNCTION SlotVInstall
ENDIF
;
; pascal OSErr SlotVRemove(QElemPtr vblBlockPtr, short theSlot)
;
IF ¨ GENERATINGCFM THEN
; parameters:
; vblBlockPtr => A0
; theSlot => D0
; returns:
; OSErr <= D0
_SlotVRemove: OPWORD $A070
ELSE
IMPORT_CFM_FUNCTION SlotVRemove
ENDIF
;
; pascal OSErr AttachVBL(short theSlot)
;
IF ¨ GENERATINGCFM THEN
; parameters:
; theSlot => D0
; returns:
; OSErr <= D0
_AttachVBL: OPWORD $A071
ELSE
IMPORT_CFM_FUNCTION AttachVBL
ENDIF
;
; pascal OSErr DoVBLTask(short theSlot)
;
IF ¨ GENERATINGCFM THEN
; parameters:
; theSlot => D0
; returns:
; OSErr <= D0
_DoVBLTask: OPWORD $A072
ELSE
IMPORT_CFM_FUNCTION DoVBLTask
ENDIF
;
; pascal OSErr VInstall(QElemPtr vblTaskPtr)
;
IF ¨ GENERATINGCFM THEN
; parameters:
; vblTaskPtr => A0
; returns:
; OSErr <= D0
_VInstall: OPWORD $A033
ELSE
IMPORT_CFM_FUNCTION VInstall
ENDIF
;
; pascal OSErr VRemove(QElemPtr vblTaskPtr)
;
IF ¨ GENERATINGCFM THEN
; parameters:
; vblTaskPtr => A0
; returns:
; OSErr <= D0
_VRemove: OPWORD $A034
ELSE
IMPORT_CFM_FUNCTION VRemove
ENDIF
; Custom Glue for 68k.
ENDIF
ENDIF ; __RETRACE__